package com.ocom.amqp.builder;

import lombok.AllArgsConstructor;
import org.springframework.amqp.rabbit.core.RabbitAdmin;

@AllArgsConstructor
public abstract class AbstractAssemblyBuilder<T> {

    public static final String DELAY_PREFIX = "delay-";

    public static final String EXCHANGE_SUFFIX = "-exchange";

    public static final String QUEUE_SUFFIX = "-queue";

    public static final String DEAD_PREFIX = "dead-";

    protected RabbitAdmin rabbitAdmin;

    public abstract void build(T assembly);

}
